<template>
  <el-config-provider :locale="locale">
    <Header />
    <router-view />
    <el-backtop />
  </el-config-provider>
</template>

<script lang="ts">
import { defineComponent } from "vue";
import Header from "@/components/header/Index.vue";
import { ElConfigProvider } from "element-plus";
import zhCn from "element-plus/lib/locale/lang/zh-cn";

export default defineComponent({
  components: {
    Header,
    ElConfigProvider,
  },

  setup() {
    return {
      locale: zhCn,
    };
  },
});
</script>


<style lang="scss">
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  margin: 0;
}
.el-dialog__body {
  padding: 0 20px 20px !important;
}
</style>
